ENTRANCE_BEVELED

Overview

Calculate the loss coefficient (K) for a beveled or chamfered entrance to a pipe flush with a reservoir wall.

Excel Usage

=ENTRANCE_BEVELED(Di, l, angle, ent_bev_method)
  • Di (float, required): Inside diameter of pipe [m]
  • l (float, required): Length of bevel measured parallel to pipe length [m]
  • angle (float, required): Angle of bevel with respect to pipe length [degrees]
  • ent_bev_method (str, optional, default: “Rennels”): Calculation method

Returns (float): Loss coefficient K for the beveled entrance [-]

Examples

Example 1: 45 degree bevel with Rennels method

Inputs:

Di l angle
0.1 0.003 45

Excel formula:

=ENTRANCE_BEVELED(0.1, 0.003, 45)

Expected output:

Result
0.4509

Example 2: 45 degree bevel with Idelchik method

Inputs:

Di l angle ent_bev_method
0.1 0.003 45 Idelchik

Excel formula:

=ENTRANCE_BEVELED(0.1, 0.003, 45, "Idelchik")

Expected output:

Result
0.3995

Example 3: Steep 60 degree bevel

Inputs:

Di l angle
0.1 0.005 60

Excel formula:

=ENTRANCE_BEVELED(0.1, 0.005, 60)

Expected output:

Result
0.4369

Example 4: Shallow 30 degree bevel

Inputs:

Di l angle
0.1 0.005 30

Excel formula:

=ENTRANCE_BEVELED(0.1, 0.005, 30)

Expected output:

Result
0.4328

Python Code

import micropip
await micropip.install(["fluids"])
from fluids.fittings import entrance_beveled as fluids_entrance_beveled

def entrance_beveled(Di, l, angle, ent_bev_method='Rennels'):
    """
    Calculate the loss coefficient (K) for a beveled or chamfered entrance to a pipe flush with a reservoir wall.

    See: https://fluids.readthedocs.io/fluids.fittings.html#fluids.fittings.entrance_beveled

    This example function is provided as-is without any representation of accuracy.

    Args:
        Di (float): Inside diameter of pipe [m]
        l (float): Length of bevel measured parallel to pipe length [m]
        angle (float): Angle of bevel with respect to pipe length [degrees]
        ent_bev_method (str, optional): Calculation method Valid options: Rennels, Idelchik. Default is 'Rennels'.

    Returns:
        float: Loss coefficient K for the beveled entrance [-]
    """
    try:
        Di = float(Di)
        l = float(l)
        angle = float(angle)
    except (ValueError, TypeError):
        return "Error: Di, l, and angle must be numbers."

    if Di <= 0:
        return "Error: Di must be positive."
    if l < 0:
        return "Error: L must be non-negative."
    if angle <= 0 or angle > 90:
        return "Error: Angle must be between 0 and 90 degrees."

    try:
        result = fluids_entrance_beveled(Di=Di, l=l, angle=angle, method=ent_bev_method)
        return float(result)
    except Exception as e:
        return f"Error: {str(e)}"

Online Calculator